Copies all of the property values of the current document to a specified document except for an optional array of property names.
Syntax
CopyProperties(PropertySetName As String, TargetDocument As Document, [ExcludeProperties] As String)
Name |
Description |
---|---|
PropertySetName |
Name of the property set to copy. |
TargetDocument |
Document object to which to copy the properties. |
ExcludeProperties |
Optional one dimension array of a property names to exclude from copying. |
Remarks
The following example copies all properties in the property set MyPropSet to the specified document object except for the properties named Prop1 and Prop2.
Document.CopyProperties "MyPropSet", Document, Array("Prop1", "Prop2")
Related concepts